package com.ems.model;

import java.util.Date;

public class Salary {
    private int salaryId;
    private String empId;
    private double amount;
    private Date payDate;

    public Salary() {}

    public Salary(int salaryId, String empId, double amount, Date payDate) {
        this.salaryId = salaryId;
        this.empId = empId;
        this.amount = amount;
        this.payDate = payDate;
    }

    public int getSalaryId() {
        return salaryId;
    }

    public void setSalaryId(int salaryId) {
        this.salaryId = salaryId;
    }

    public String getEmpId() {
        return empId;
    }

    public void setEmpId(String empId) {
        this.empId = empId;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public Date getPayDate() {
        return payDate;
    }

    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }
}